package com.wzapp.sitposture.eshop.entity;

import lombok.Data;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import java.io.Serializable;

/**
 * Created by qianglong on 2018/1/27.
 */
@Data
@Entity(name = "config_order_status")
public class OrderStatus implements Serializable {

    private static final long serialVersionUID = 1582495826173463010L;

    @Id
    @GeneratedValue(generator = "uuid_32")
    @GenericGenerator(name = "uuid_32", strategy = "uuid")
    @Column(length = 32)
    private String id;

    /**
     * 当前状态
     */
    private Integer currentStatus;
    /**
     * 后置状态
     */
    private Integer postStatus;
    /**
     * 操作
     */
    private String operation;
    /**
     * 备注
     */
    private String notes;
}
